﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Actuals.CoreDomain;
using Actuals.CoreDomain.Business;
using Actuals.CoreDomain.Data;
using Actuals.Data;

namespace Actuals.Business
{
    public class BusinessTaskStatus : IBusinessTaskStatus
    {
          private IDalTaskStatus _dalTaskStatus;

         public BusinessTaskStatus(IDalTaskStatus dalTaskStatus)
        {
            _dalTaskStatus = dalTaskStatus;
        }

         public BusinessTaskStatus()
        {
            _dalTaskStatus = new DalTaskStatus();
        }

         public IList<ITaskStatus> GetTaskStatuses()
        {
            IList<ITaskStatus> taskStatuses = _dalTaskStatus.GetTaskStatuses();


            return taskStatuses;
        }

      

        public ITaskStatus GetTaskStatus(int statusId)
        {
            return _dalTaskStatus.GetTaskStatus(statusId);
        }
    }
}
